package com.ai.networking.netty.comm;


import com.ai.entity.comm.SysNetty;

import java.util.concurrent.ConcurrentHashMap;

public interface CommonNetty {

    /**
     * 服务端 管理的所有正在连接的活跃的channel信道集合
     */
    ConcurrentHashMap<String, SysNetty> NATIVE_SERVER_MAP = new ConcurrentHashMap<>();

    /**
     * 所有需要与服务端进行连接建立的端口及其他信息
     */
    ConcurrentHashMap<String, SysNetty> NATIVE_CLIENT_MAP = new ConcurrentHashMap<>();

    ConcurrentHashMap<String, SysNetty> NON_NATIVE_SERVER_MAP = new ConcurrentHashMap<>();

    ConcurrentHashMap<String, SysNetty> NON_NATIVE_CLIENT_MAP = new ConcurrentHashMap<>();
}
